!  This is a comment line, it will be ignored.
#  This is also a comment line.
'  This is also a comment line.
%  This is also a comment line.
-- This is also a comment line.
// This is also a comment line.

Internal Product Name = ANTENNA,YAGI,DUAL POL

// The Quality Message (when specified) is presented to the operator upon opening the work order.
Quality Message = 

Itar = False

Number of Ports = 2
Port Type = All  Identical

// The following option specifies whether to print a VNA screenshot for each device test.
Auto Print Screenshots = False

// The following option specifies whether to save a VNA screenshot for each device test.
Auto Save Screenshots = True

// The following option specifies whether to save all measurement points for each device test in the results file.
// Otherwise only the statistics are saved.
Capture Full Trace = True

! The following device Serial Number Modes are available:
!      Auto Increment - the device serial number will be automatically incremented following each device test
!      Manual         - the operator will manually enter the device serial number of each device before testing
! NOTE: The operator will be given the option to enter a starting serial number in Manual mode.
Serial Number Mode = Auto Increment

! The following types of calibration are available:
!      Full 1 Port Calibration Port 1
!      Full 1 Port Calibration Port 2                            (S2 and S4 Only)
!      Full 1 Port Calibration Port 2 Plus Port 1 to 2 Thru      (S2 and S4 Only)
!      Full 1 Port Calibration Ports 1 and 2                     (S2 and S4 Only)
!      One Path Two Port Calibration 1 to 2
!      One Path Two Port Calibration 2 to 1                      (S2 and S4 Only)
!      Full 2 Port Calibration                                   (S2 and S4 Only)
Calibration Type = Full 1 Port Calibration Port 2 Plus Port 1 to 2 Thru

! By default the operator can choose from a list of all calibration kits currently found in the VNA software.
! If desired only a subset of the calibration kits can be made available to the operator by listing the desired calibration kit names here.
! The kit names must be enclosed within single quotes (') and separated by a comma (,).
Calibration Kit List = '85032', 'WR284', 'WR187'

! A photo of each calibration standard connection can be presented to the operator by specifying the associated filenames below.
! Photo files must be located in the Calibration Photos Directory as configured on the Settings tab and must be 300x300 pixel JPEG files.
Photo Port 1 Open = N RS Z121 open female with cable
Photo Port 1 Short = N RS Z121 short female with cable
Photo Port 1 Load = N RS Z121 match female with cable
Photo Port 1 to 2 Thru = N RS Z121 thru female
Photo Port 2 Open =
Photo Port 2 Short =
Photo Port 2 Load =
Photo Port 2 to 1 Thru =

! When a State Filename is specified the state file will be loaded BEFORE executing the SCPI commands.
! This way any additional configuration not included in the state file can be performed by the SCPI commands.
! (In this situation a system preset should NOT be included in the SCPI command block.)
! IMPORTANT: The 'Save Type' of the state file should be set to 'State' on the VNA software prior to saving the file.
! IMPORTANT: The state file must be located in the same directory as this specification file.
State Filename =

! The Remote Lock has two options:
!      True  - the VNA will be put into remote mode WITH lock prior to configuring
!      False - the VNA will be put into remote mode but NOT locked prior to configuring
! In either case the VNA will return to local operation upon closing the work order.
Remote Lock = True

! Start of VNA configuration SCPI command block.  All SCPI commands need to be in one contiguous block enclosed by brackets {  }
{
	! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	! SYSTEM PRESET

	system:preset;

	! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	! CONFIGURE CHANNEL

	DISPlay:SPLit1
	DISPlay:WINDow1:SPLit 1

	sense1:frequency:start 160 MHz
	sense1:frequency:stop 162 MHz
	sense1:sweep:points 201
	sense1:bandwidth 1 KHz
	SOURce1:POWer:LEVel:IMMediate:AMPLitude 0

	calculate1:format MLOG

	! turn fail sign on
	DISPlay:FSIGn ON

	! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	! CONFIGURE TRACE 1

	! select trace 1
	CALCulate1:PARameter1:SELect

	// configure trace position
	display:window1:trace1:y:pdiv 1
	display:window1:trace1:y:rlev -8 dB
	display:window1:trace1:y:rpos 100

	// configure markers
	calculate1:marker1 on
	calculate1:marker1:x 160.8 MHz
	calculate1:marker2 on
	calculate1:marker2:x 161 MHz
	calculate1:marker3 on
	calculate1:marker3:x 161.2 MHz

	! enable statistics and select start and stop markers
	CALCulate1:MSTatistics ON
	CALCulate1:MSTatistics:DOMain ON
	CALCulate1:MSTatistics:DOMain:STARt 1
	CALCulate1:MSTatistics:DOMain:STOP 3

	// configure and enable limit test
	CALCulate1:LIMit:DATA 1, 1, 160e6, 162e6, -12, -12
	CALCulate1:LIMit:DISPlay ON
	CALCulate1:LIMit ON

	! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	! CONFIGURE TRACE 2
}